package com.yyj.dao;

import com.yyj.model.TPropertyAdvice;
import com.yyj.model.TPropertyAdviceExample;
import java.util.List;

import com.yyj.web.protocol.req.AdviceQueryReq;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface TPropertyAdviceMapper {
    int countByExample(TPropertyAdviceExample example);

    int deleteByExample(TPropertyAdviceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TPropertyAdvice record);

    int insertSelective(TPropertyAdvice record);

    List<TPropertyAdvice> selectByExampleWithRowbounds(TPropertyAdviceExample example, RowBounds rowBounds);

    List<TPropertyAdvice> selectByExample(TPropertyAdviceExample example);

    TPropertyAdvice selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TPropertyAdvice record, @Param("example") TPropertyAdviceExample example);

    int updateByExample(@Param("record") TPropertyAdvice record, @Param("example") TPropertyAdviceExample example);

    int updateByPrimaryKeySelective(TPropertyAdvice record);

    int updateByPrimaryKey(TPropertyAdvice record);

    List<TPropertyAdvice> queryAdviceRecord(AdviceQueryReq adviceQueryReq);
}